﻿using EkStudio.com.bean.xml.RootInterface.DataSource;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EkStudio.com.ui.unitbill.BillMultiple
{
    public class BillMultipleSourceToProperty
    {
        private BillSourceTabItems item = null;
        public BillMultipleSourceToProperty(BillSourceTabItems dt)
        {
            item = dt;
        }

        public string Key
        {
            get { return item.Key; }
            set { item.Key = value; }
        }

        public string Caption
        {
            get { return item.Caption; }
            set { item.Caption = value; }
        }

        public string TableName
        {
            get { return item.TableName; }
            set { item.TableName = value; }
        }

        public BillSourceTabItems Item
        {
            get { return item; }
        }

        public string Content
        {
            get { return item.Content != "" ? "[DataSource]" : "[NULL]"; }
            set { }
        }
    }
}
